
#ifndef SCROLLBAREX_H
#define SCROLLBAREX_H

#pragma once
/////////////////////////////////////////////////////////////////////////////
// CScrollBarEx window
class CScrollBarEx : public CWnd
{
	// Construction
public:
	CScrollBarEx();
	
	// Attributes
public:
	BOOL InitScrollBar(CWnd *pCtrl, UINT nStyle, UINT nId);
	void UpdateScrollBar();
	BOOL MoveScrollBar(CWnd *pCtrl, UINT nStyle);	

	// Operations
public:
	
	// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CScrollBarEx)
	//}}AFX_VIRTUAL
	
	// Implementation
public:
	virtual ~CScrollBarEx();
	void DrawVScroll(CDC* pDC);
	void DrawHScroll(CDC* pDC);	
	// Generated message map functions
protected:
	//{{AFX_MSG(CScrollBarEx)
	afx_msg void OnPaint();
	//}}AFX_MSG
	
	DECLARE_MESSAGE_MAP()
private:
	CWnd* m_pCtrl;
	UINT m_nScrollStyle;
private:

};

#endif // SCROLLBAREX_H
